home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
CIncludes
/
HIWindows.xh
< prev
next >
Wrap
Text File
|
1996-05-01
|
66KB
|
2,175 lines
/*
* This file was generated by the SOM Compiler.
* FileName: HIWindows.xh.
* Generated using:
* SOM Precompiler somipc: 2.18
* SOM Emitter emitxh.dll: 2.33
*/
/*
*
* Copyright: © 1994,1995 by Apple Computer, Inc.
* All rights reserved.
*
* 10H9767, 10H9769 (C) COPYRIGHT International Business Machines Corp. 1992,1994
* All Rights Reserved
* Licensed Materials - Property of IBM
* US Government Users Restricted Rights - Use, duplication or
* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
*
* SOMClass: System Object Model base metaclass
*/
#ifndef SOM_HIWindow_xh
#define SOM_HIWindow_xh
class HIWindow;
#define HIWindow_MajorVersion 0
#define HIWindow_MinorVersion 0
/*
* Passthru lines: File: "C.xh", "before"
*/
#include <Types.h>
#include <Windows.h>
#include <HIWindowTypes.h>
#include <HIEmbeddingPanels.xh>
/* C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>
/* C++ parent defs */
#ifndef SOM_HIObject_xh
#include <HIObjects.xh>
#endif
#ifndef HIWindow_API
#define HIWindow_API
/*
* -- The Class API
*/
/*
* Start of user-defined types:
*/
class SOMClass;
class SOMObject;
class HIWindow;
class HIEmbeddingPanel;
/*
* End of user-defined types.
*/
#ifdef OLDIBMSOMAPISUPPORT
#define HIWindowCClassData HIWindowClassData
#define HIWindowNewClass(major,minor) somNewVersionedClassReference(HIWindow,major,minor)
#endif
/* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
#define HIWindowMetaClass SOMClass
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=power
#endif
/* The API to the HIWindow class object, and the methods it introduces. */
SOMEXTERN struct HIWindowClassDataStructure {
#ifdef OLDIBMSOMAPISUPPORT
SOMClass *classObject; /* always zero, use somNewClassReference instead */
#else
long zero;
#endif
somStaticClassInfo *sci;
somDToken instanceDataToken;
long reserved [3];
somMToken InitWindow;
somMToken InitWindowInLayer;
somMToken Select;
somMToken SelectWithGroup;
somMToken Hilite;
somMToken Unhilite;
somMToken BringToFront;
somMToken SendBehind;
somMToken ShowWithoutActivate;
somMToken HideWithoutActivate;
somMToken Zoom;
somMToken ZoomOut;
somMToken Collapse;
somMToken Expand;
somMToken SetAttachedWindowGroup;
somMToken GetAttachedWindowGroup;
somMToken AddToGroup;
somMToken RemoveFromGroup;
somMToken InvalidateRect;
somMToken InvalidateRgn;
somMToken ValidateRect;
somMToken ValidateRgn;
somMToken SetPort;
somMToken BeginUpdate;
somMToken EndUpdate;
somMToken DrawGrowIcon;
somMToken PositionOnScreen;
somMToken AutoPosition;
somMToken IsPositionedOnScreen;
somMToken SetAttributes;
somMToken GetAttributes;
somMToken SetClass;
somMToken GetClass;
somMToken SetVariant;
somMToken GetVariant;
somMToken GetStructureRgn;
somMToken GetContentRgn;
somMToken GetUpdateRgn;
somMToken SetStandardState;
somMToken GetStandardState;
somMToken SetUserState;
somMToken GetUserState;
somMToken GetRootPanel;
somMToken SetRootPanel;
somMToken GetEventDispatcher;
somMToken IsHilited;
somMToken IsActive;
somMToken IsCollapsed;
somMToken HandleMouseDown;
somMToken HandleMouseMoved;
somMToken HandleMouseStoppedMoving;
somMToken HandleMouseUp;
somMToken HandleMouseDownInBack;
somMToken HandleResize;
somMToken HandleClose;
somMToken TrackPart;
somMToken DrawFrame;
somMToken DrawOutline;
somMToken DrawSizeBox;
somMToken HilitePart;
somMToken HitTest;
somMToken GetPartRgn;
somMToken GetUnusedGadgetRects;
somMToken GetGrowDirection;
somMethodProc *GetPrimaryLayer;
somMethodProc *NewWindowGroup;
somMethodProc *DisposeWindowGroup;
somMethodProc *AddWindowGroupToWindowGroup;
somMethodProc *RemoveWindowGroupFromWindowGroup;
somMethodProc *GetApplicationWindowGroup;
somMethodProc *GetWindowClassWindowGroup;
somMethodProc *GetWindowsInWindowGroup;
somMethodProc *GetWindowsInWindowGroupAndLayer;
somMethodProc *GetWindowGroupsInWindowGroup;
somMethodProc *FrontWindowOfWindowGroup;
somMethodProc *FrontNonFloatingWindow;
somMethodProc *ShowFloatingWindows;
somMethodProc *HideFloatingWindows;
somMethodProc *AreFloatersVisible;
somMethodProc *ActivateFloatingWindows;
somMethodProc *DeactivateFloatingWindows;
somMethodProc *EnableAutomaticPaletteActivation;
somMethodProc *DisableAutomaticPaletteActivation;
somMethodProc *IsAutomaticPaletteActivationEnabled;
somMethodProc *GetHIWindow;
somMToken reserved0;
somMToken reserved1;
somMToken reserved2;
somMToken reserved3;
somMToken reserved4;
somMToken reserved5;
somMToken reserved6;
somMToken reserved7;
somMToken reserved8;
somMToken reserved9;
somMToken reserved10;
somMToken reserved11;
somMToken reserved12;
somMToken reserved13;
somMToken reserved14;
somMToken reserved15;
somMToken reserved16;
somMToken reserved17;
somMToken reserved18;
somMToken reserved19;
somMToken reserved20;
somMToken reserved21;
somMToken reserved22;
somMToken HandleUpdate;
somMToken SetDefaultGrowLimits;
somMToken GetDefaultGrowLimits;
somMToken SetDefaultOptimalSize;
somMToken GetDefaultOptimalSize;
somMToken AdjustDragLimits;
somMToken AdjustGrowLimits;
} SOMDLINK HIWindowClassData;
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=reset
#endif
#if !defined(HIWindow_Class_Source) && !defined(SOM_Module_hiwindows_Source)
#if PRAGMA_IMPORT_SUPPORTED
#pragma import list HIWindowClassData
#endif
#endif
/*
* -- Typedefs for HIWindow Method Procedures
*/
SOMEXTERN {
typedef OSStatus (* SOMLINK somTD_HIWindow_InitWindow)(HIWindow *somSelf, Environment *ev,
RefLabel* identifier,
Rect* globalBounds,
HIWindowClass windowClass,
HIWindowVariant windowVariant,
HIWindowAttributes windowAttributes,
HIRootPanel* rootPanel,
HIWindow* behindThisWindow);
typedef OSStatus (* SOMLINK somTD_HIWindow_InitWindowInLayer)(HIWindow *somSelf, Environment *ev,
RefLabel* identifier,
Rect* globalBounds,
HIWindowClass windowClass,
HIWindowVariant windowVariant,
HIWindowAttributes windowAttributes,
HIRootPanel* rootPanel,
HIWindow* behindThisWindow,
HILayerRef containingLayer);
typedef OSStatus (* SOMLINK somTD_HIWindow_Select)(HIWindow *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIWindow_SelectWithGroup)(HIWindow *somSelf, Environment *ev,
HIWindowGroupRef groupRef);
typedef OSStatus (* SOMLINK somTD_HIWindow_Hilite)(HIWindow *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIWindow_Unhilite)(HIWindow *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIWindow_IsHilited)(HIWindow *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIWindow_IsActive)(HIWindow *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIWindow_BringToFront)(HIWindow *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIWindow_SendBehind)(HIWindow *somSelf, Environment *ev,
HIWindow* behindThisWindow);
typedef OSStatus (* SOMLINK somTD_HIWindow_ShowWithoutActivate)(HIWindow *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIWindow_HideWithoutActivate)(HIWindow *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIWindow_Zoom)(HIWindow *somSelf, Environment *ev,
HIWindowPartCode whichPart,
boolean front);
typedef OSStatus (* SOMLINK somTD_HIWindow_ZoomOut)(HIWindow *somSelf, Environment *ev,
Point* idealSize);
typedef OSStatus (* SOMLINK somTD_HIWindow_Collapse)(HIWindow *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIWindow_Expand)(HIWindow *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIWindow_IsCollapsed)(HIWindow *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIWindow_SetAttachedWindowGroup)(HIWindow *somSelf, Environment *ev,
HIWindowGroupRef groupRef);
typedef HIWindowGroupRef (* SOMLINK somTD_HIWindow_GetAttachedWindowGroup)(HIWindow *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIWindow_AddToGroup)(HIWindow *somSelf, Environment *ev,
HIWindowGroupRef groupRef);
typedef OSStatus (* SOMLINK somTD_HIWindow_RemoveFromGroup)(HIWindow *somSelf, Environment *ev,
HIWindowGroupRef groupRef);
typedef OSStatus (* SOMLINK somTD_HIWindow_InvalidateRect)(HIWindow *somSelf, Environment *ev,
Rect* badRect);
typedef OSStatus (* SOMLINK somTD_HIWindow_InvalidateRgn)(HIWindow *somSelf, Environment *ev,
RgnHandle badRgn);
typedef OSStatus (* SOMLINK somTD_HIWindow_ValidateRect)(HIWindow *somSelf, Environment *ev,
Rect* goodRect);
typedef OSStatus (* SOMLINK somTD_HIWindow_ValidateRgn)(HIWindow *somSelf, Environment *ev,
RgnHandle goodRgn);
typedef OSStatus (* SOMLINK somTD_HIWindow_SetPort)(HIWindow *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIWindow_BeginUpdate)(HIWindow *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIWindow_EndUpdate)(HIWindow *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIWindow_DrawGrowIcon)(HIWindow *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIWindow_PositionOnScreen)(HIWindow *somSelf, Environment *ev,
Rect* globalReferenceRect,
boolean findScreen,
HIWindowHorizontalConstraint horizontalConstraint,
HIWindowVerticalConstraint verticalConstraint);
typedef OSStatus (* SOMLINK somTD_HIWindow_AutoPosition)(HIWindow *somSelf, Environment *ev,
HIWindowLocationConstraint locationConstraint,
HIWindowHorizontalConstraint horizontalConstraint,
HIWindowVerticalConstraint verticalConstraint);
typedef boolean (* SOMLINK somTD_HIWindow_IsPositionedOnScreen)(HIWindow *somSelf, Environment *ev,
HIWindowPartCode whichPart,
boolean entirelyOnScreen);
typedef OSStatus (* SOMLINK somTD_HIWindow_SetAttributes)(HIWindow *somSelf, Environment *ev,
HIWindowAttributes newAttributes,
boolean redraw);
typedef HIWindowAttributes (* SOMLINK somTD_HIWindow_GetAttributes)(HIWindow *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIWindow_SetClass)(HIWindow *somSelf, Environment *ev,
HIWindowClass newClass);
typedef HIWindowClass (* SOMLINK somTD_HIWindow_GetClass)(HIWindow *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIWindow_SetVariant)(HIWindow *somSelf, Environment *ev,
HIWindowVariant newVariant);
typedef HIWindowVariant (* SOMLINK somTD_HIWindow_GetVariant)(HIWindow *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIWindow_GetStructureRgn)(HIWindow *somSelf, Environment *ev,
RgnHandle structureCopy);
typedef OSStatus (* SOMLINK somTD_HIWindow_GetContentRgn)(HIWindow *somSelf, Environment *ev,
RgnHandle contentCopy);
typedef OSStatus (* SOMLINK somTD_HIWindow_GetUpdateRgn)(HIWindow *somSelf, Environment *ev,
RgnHandle updateCopy);
typedef OSStatus (* SOMLINK somTD_HIWindow_SetStandardState)(HIWindow *somSelf, Environment *ev,
Rect* globalStandardState);
typedef Rect* (* SOMLINK somTD_HIWindow_GetStandardState)(HIWindow *somSelf, Environment *ev,
Rect* globalStandardState);
typedef OSStatus (* SOMLINK somTD_HIWindow_SetUserState)(HIWindow *somSelf, Environment *ev,
Rect* globalUserState);
typedef Rect* (* SOMLINK somTD_HIWindow_GetUserState)(HIWindow *somSelf, Environment *ev,
Rect* globalUserState);
typedef OSStatus (* SOMLINK somTD_HIWindow_SetDefaultGrowLimits)(HIWindow *somSelf, Environment *ev,
Point* minimumSize,
Point* maximumSize);
typedef OSStatus (* SOMLINK somTD_HIWindow_GetDefaultGrowLimits)(HIWindow *somSelf, Environment *ev,
Point* minimumSize,
Point* maximumSize);
typedef OSStatus (* SOMLINK somTD_HIWindow_SetDefaultOptimalSize)(HIWindow *somSelf, Environment *ev,
Point* defaultSize);
typedef OSStatus (* SOMLINK somTD_HIWindow_GetDefaultOptimalSize)(HIWindow *somSelf, Environment *ev,
Point* defaultSize);
typedef HIRootPanel* (* SOMLINK somTD_HIWindow_GetRootPanel)(HIWindow *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIWindow_SetRootPanel)(HIWindow *somSelf, Environment *ev,
HIRootPanel* thePanel);
typedef AEDispatcherRef (* SOMLINK somTD_HIWindow_GetEventDispatcher)(HIWindow *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIWindow_HandleMouseDown)(HIWindow *somSelf, Environment *ev,
Point* globalPt,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIWindow_HandleMouseMoved)(HIWindow *somSelf, Environment *ev,
Point* globalPt,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIWindow_HandleMouseStoppedMoving)(HIWindow *somSelf, Environment *ev,
Point* globalPt,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIWindow_HandleMouseUp)(HIWindow *somSelf, Environment *ev,
Point* globalPt,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIWindow_HandleMouseDownInBack)(HIWindow *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIWindow_HandleUpdate)(HIWindow *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIWindow_HandleResize)(HIWindow *somSelf, Environment *ev,
Rect* originalBounds,
Rect* newBounds,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIWindow_HandleClose)(HIWindow *somSelf, Environment *ev,
boolean closeAll,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef void (* SOMLINK somTD_HIWindow_AdjustDragLimits)(HIWindow *somSelf, Environment *ev,
Rect* dragLimits);
typedef void (* SOMLINK somTD_HIWindow_AdjustGrowLimits)(HIWindow *somSelf, Environment *ev,
Point* minimumSize,
Point* maximumSize);
typedef OSStatus (* SOMLINK somTD_HIWindow_TrackPart)(HIWindow *somSelf, Environment *ev,
Point* globalPt,
EventModifiers modifiers,
HIWindowPartCode whichPart);
typedef void (* SOMLINK somTD_HIWindow_DrawFrame)(HIWindow *somSelf, Environment *ev,
CGrafPtr drawPort);
typedef void (* SOMLINK somTD_HIWindow_DrawOutline)(HIWindow *somSelf, Environment *ev,
Rect* globalOutlineRect,
CGrafPtr drawPort);
typedef void (* SOMLINK somTD_HIWindow_DrawSizeBox)(HIWindow *somSelf, Environment *ev,
CGrafPtr drawPort);
typedef void (* SOMLINK somTD_HIWindow_HilitePart)(HIWindow *somSelf, Environment *ev,
HIWindowPartCode whichPart,
boolean hiliteFlag,
CGrafPtr drawPort);
typedef HIWindowPartCode (* SOMLINK somTD_HIWindow_HitTest)(HIWindow *somSelf, Environment *ev,
Point* globalHitPt);
typedef OSStatus (* SOMLINK somTD_HIWindow_GetPartRgn)(HIWindow *somSelf, Environment *ev,
HIWindowRgnCode windowRgn,
RgnHandle theRgn);
typedef OSStatus (* SOMLINK somTD_HIWindow_GetUnusedGadgetRects)(HIWindow *somSelf, Environment *ev,
Rect* leftRect,
Rect* rightRect);
typedef HIWindowGrowDirection (* SOMLINK somTD_HIWindow_GetGrowDirection)(HIWindow *somSelf, Environment *ev,
Point* globalHitPt);
typedef HILayerRef (* SOMLINK somTD_HIWindow_GetPrimaryLayer)(Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIWindow_NewWindowGroup)(Environment *ev,
HIWindowGroupRef* newGroup);
typedef OSStatus (* SOMLINK somTD_HIWindow_DisposeWindowGroup)(Environment *ev,
HIWindowGroupRef groupToDispose);
typedef OSStatus (* SOMLINK somTD_HIWindow_AddWindowGroupToWindowGroup)(Environment *ev,
HIWindowGroupRef baseGroup,
HIWindowGroupRef groupToAdd);
typedef OSStatus (* SOMLINK somTD_HIWindow_RemoveWindowGroupFromWindowGroup)(Environment *ev,
HIWindowGroupRef baseGroup,
HIWindowGroupRef groupToRemove);
typedef HIWindowGroupRef (* SOMLINK somTD_HIWindow_GetApplicationWindowGroup)(Environment *ev);
typedef HIWindowGroupRef (* SOMLINK somTD_HIWindow_GetWindowClassWindowGroup)(Environment *ev,
HIWindowClass windowClass);
typedef OSStatus (* SOMLINK somTD_HIWindow_GetWindowsInWindowGroup)(Environment *ev,
HIWindowGroupRef group,
ItemCount requestedWindows,
ItemCount* totalWindows,
HIWindow** windows);
typedef OSStatus (* SOMLINK somTD_HIWindow_GetWindowsInWindowGroupAndLayer)(Environment *ev,
HIWindowGroupRef group,
HILayerRef layer,
ItemCount requestedWindows,
ItemCount* totalWindows,
HIWindow** windows);
typedef OSStatus (* SOMLINK somTD_HIWindow_GetWindowGroupsInWindowGroup)(Environment *ev,
HIWindowGroupRef group,
ItemCount requestedGroups,
ItemCount* totalGroups,
HIWindowGroupRef* groups);
typedef HIWindow* (* SOMLINK somTD_HIWindow_FrontWindowOfWindowGroup)(Environment *ev,
HIWindowGroupRef group);
typedef HIWindow* (* SOMLINK somTD_HIWindow_FrontNonFloatingWindow)(Environment *ev);
typedef void (* SOMLINK somTD_HIWindow_ShowFloatingWindows)(Environment *ev);
typedef void (* SOMLINK somTD_HIWindow_HideFloatingWindows)(Environment *ev);
typedef boolean (* SOMLINK somTD_HIWindow_AreFloatersVisible)(Environment *ev);
typedef void (* SOMLINK somTD_HIWindow_ActivateFloatingWindows)(Environment *ev);
typedef void (* SOMLINK somTD_HIWindow_DeactivateFloatingWindows)(Environment *ev);
typedef void (* SOMLINK somTD_HIWindow_EnableAutomaticPaletteActivation)(Environment *ev);
typedef void (* SOMLINK somTD_HIWindow_DisableAutomaticPaletteActivation)(Environment *ev);
typedef boolean (* SOMLINK somTD_HIWindow_IsAutomaticPaletteActivationEnabled)(Environment *ev);
typedef HIWindow* (* SOMLINK somTD_HIWindow_GetHIWindow)(Environment *ev,
WindowPtr targetWindow);
/*
* -- Typedefs for Inherited Methods
*/
typedef HIWindow* (* SOMLINK somTD_HIWindow_GetWindow)(HIWindow *somSelf, Environment *ev);
typedef CGrafPtr (* SOMLINK somTD_HIWindow_GetPort)(HIWindow *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIWindow_GetRefLabel)(HIWindow *somSelf, Environment *ev,
RefLabel* identifier);
typedef Collection (* SOMLINK somTD_HIWindow_GetCollection)(HIWindow *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIWindow_Init)(HIWindow *somSelf, Environment *ev,
RefLabel* identifier,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HIWindow_Terminate)(HIWindow *somSelf, Environment *ev);
typedef HIObject* (* SOMLINK somTD_HIWindow_Clone)(HIWindow *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIWindow_Release)(HIWindow *somSelf, Environment *ev);
typedef ItemCount (* SOMLINK somTD_HIWindow_GetOwnerCount)(HIWindow *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIWindow_InitFromAERecord)(HIWindow *somSelf, Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat);
typedef OSStatus (* SOMLINK somTD_HIWindow_WriteToAERecord)(HIWindow *somSelf, Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat);
typedef void (* SOMLINK somTD_HIWindow_CalculateOptimalSize)(HIWindow *somSelf, Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight);
typedef void (* SOMLINK somTD_HIWindow_GetBoundingRect)(HIWindow *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HIWindow_SetBoundingRect)(HIWindow *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect);
typedef void (* SOMLINK somTD_HIWindow_SetPosition)(HIWindow *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition);
typedef void (* SOMLINK somTD_HIWindow_SetSize)(HIWindow *somSelf, Environment *ev,
SInt16 width,
SInt16 height);
typedef void (* SOMLINK somTD_HIWindow_GetUpdateRect)(HIWindow *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect);
typedef void (* SOMLINK somTD_HIWindow_Enable)(HIWindow *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIWindow_Disable)(HIWindow *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIWindow_IsEnabled)(HIWindow *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIWindow_Show)(HIWindow *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIWindow_Hide)(HIWindow *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIWindow_IsVisible)(HIWindow *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIWindow_HandleAppleEvent)(HIWindow *somSelf, Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIWindow_HandleActivate)(HIWindow *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIWindow_HandleDeactivate)(HIWindow *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIWindow_HandleNavigation)(HIWindow *somSelf, Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIWindow_HandleMouseDownInContent)(HIWindow *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIWindow_HandleMouseMovedInContent)(HIWindow *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIWindow_HandleMouseStoppedMovingInContent)(HIWindow *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIWindow_HandleMouseUpInContent)(HIWindow *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef void (* SOMLINK somTD_HIWindow_TakeUserInputFocus)(HIWindow *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIWindow_ReleaseUserInputFocus)(HIWindow *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIWindow_HasUserInputFocus)(HIWindow *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIWindow_CanReleaseUserInputFocus)(HIWindow *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIWindow_SetUserInputFocusFlags)(HIWindow *somSelf, Environment *ev,
HIUserInputFocusFlags flags);
typedef HIUserInputFocusFlags (* SOMLINK somTD_HIWindow_GetUserInputFocusFlags)(HIWindow *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIWindow_SetTitle)(HIWindow *somSelf, Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags);
typedef OSStatus (* SOMLINK somTD_HIWindow_GetTitle)(HIWindow *somSelf, Environment *ev,
HIImageRef* title);
typedef void (* SOMLINK somTD_HIWindow_Draw)(HIWindow *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HIWindow_Erase)(HIWindow *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn);
typedef void (* SOMLINK somTD_HIWindow_Invalidate)(HIWindow *somSelf, Environment *ev);
typedef HIDrawingMode (* SOMLINK somTD_HIWindow_GetDrawingMode)(HIWindow *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIWindow_SetDrawingMode)(HIWindow *somSelf, Environment *ev,
HIDrawingMode drawingMode);
typedef void (* SOMLINK somTD_HIWindow_SetBackgroundPattern)(HIWindow *somSelf, Environment *ev,
PixPatHandle backgroundPattern);
typedef PixPatHandle (* SOMLINK somTD_HIWindow_GetBackgroundPattern)(HIWindow *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIWindow_Cut)(HIWindow *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIWindow_Copy)(HIWindow *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIWindow_Paste)(HIWindow *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIWindow_Clear)(HIWindow *somSelf, Environment *ev);
typedef HIClipboardSupportFlags (* SOMLINK somTD_HIWindow_GetClipboardSupportFlags)(HIWindow *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIWindow_AddStateChangeCallback)(HIWindow *somSelf, Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef);
typedef OSStatus (* SOMLINK somTD_HIWindow_RemoveStateChangeCallback)(HIWindow *somSelf, Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove);
typedef OSStatus (* SOMLINK somTD_HIWindow_GetHIObjectFromRefLabel)(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects);
typedef OSStatus (* SOMLINK somTD_HIWindow_GetNewHIObject)(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject);
typedef OSStatus (* SOMLINK somTD_HIWindow_GetNewHIObjectFromResource)(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject);
typedef void (* SOMLINK somTD_HIWindow_DrawContent)(HIWindow *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HIWindow_EraseContent)(HIWindow *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase);
typedef void (* SOMLINK somTD_HIWindow_TranslatePoint)(HIWindow *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint);
typedef void (* SOMLINK somTD_HIWindow_TranslateRect)(HIWindow *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect);
typedef void (* SOMLINK somTD_HIWindow_StateChanged)(HIWindow *somSelf, Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode);
typedef void (* SOMLINK somTD_HIWindow_SetClipboardSupportFlags)(HIWindow *somSelf, Environment *ev,
HIClipboardSupportFlags flags);
typedef OSStatus (* SOMLINK somTD_HIWindow_Verify)(HIWindow *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIWindow_somInit)(HIWindow *somSelf);
typedef void (* SOMLINK somTD_HIWindow_somUninit)(HIWindow *somSelf);
typedef SOMObject* (* SOMLINK somTD_HIWindow_somDuplicateReference)(HIWindow *somSelf);
typedef boolean (* SOMLINK somTD_HIWindow_somCompareReference)(HIWindow *somSelf,
SOMObject* anObject);
typedef SOMObject* (* SOMLINK somTD_HIWindow_somRelease)(HIWindow *somSelf);
typedef void (* SOMLINK somTD_HIWindow_somFree)(HIWindow *somSelf);
typedef boolean (* SOMLINK somTD_HIWindow_somCanDelete)(HIWindow *somSelf);
typedef SOMClass* (* SOMLINK somTD_HIWindow_somGetClass)(HIWindow *somSelf);
typedef corbastring (* SOMLINK somTD_HIWindow_somGetClassName)(HIWindow *somSelf);
typedef long (* SOMLINK somTD_HIWindow_somGetSize)(HIWindow *somSelf);
typedef boolean (* SOMLINK somTD_HIWindow_somIsA)(HIWindow *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HIWindow_somRespondsTo)(HIWindow *somSelf,
somId mId);
typedef boolean (* SOMLINK somTD_HIWindow_somIsInstanceOf)(HIWindow *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HIWindow_somDispatch)(HIWindow *somSelf,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HIWindow_somClassDispatch)(HIWindow *somSelf,
SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HIWindow_somCastObj)(HIWindow *somSelf,
SOMClass* cls);
typedef boolean (* SOMLINK somTD_HIWindow_somResetObj)(HIWindow *somSelf);
typedef SOMObject* (* SOMLINK somTD_HIWindow_somPrintSelf)(HIWindow *somSelf);
typedef void (* SOMLINK somTD_HIWindow_somDumpSelf)(HIWindow *somSelf,
long level);
typedef void (* SOMLINK somTD_HIWindow_somDumpSelfInt)(HIWindow *somSelf,
long level);
}
#endif /* HIWindow_API */
/*
* -- This emitter treats Method Tokens as Thunks by default.
* -- Use the sc modifier "nothunks" to change this default
*/
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
/*
* -- The C++ Wrapper Class for HIWindow
*/
class HIWindow : public HIObject
{
public:
// HIWindow::new registers use of the class object, and then uses somNew
// to allocate memory and load the object method table pointer.
void *operator new(size_t size)
{
SOM_IgnoreWarning(size);
// Allocate memory using the default allocator for HIWindow, and
// clear mem & set method table pointer, call basic initialization
return (void*) somNewObject(HIWindow);
}
// HIWindow::delete uses the default deallocator for the object's class.
void operator delete(void * obj)
{
if (obj) {
SOM_Resolve(obj,SOMObject,somFree)
( (SOMObject*) obj );
}
}
/* method: InitWindow */
OSStatus InitWindow(Environment *ev,
RefLabel* identifier,
Rect* globalBounds,
HIWindowClass windowClass,
HIWindowVariant windowVariant,
HIWindowAttributes windowAttributes,
HIRootPanel* rootPanel,
HIWindow* behindThisWindow)
{
return SOM_ResolveD(this,HIWindow,HIWindow,InitWindow)
(this,ev,identifier,globalBounds,windowClass,windowVariant,windowAttributes,rootPanel,behindThisWindow);
}
/* method: InitWindowInLayer */
OSStatus InitWindowInLayer(Environment *ev,
RefLabel* identifier,
Rect* globalBounds,
HIWindowClass windowClass,
HIWindowVariant windowVariant,
HIWindowAttributes windowAttributes,
HIRootPanel* rootPanel,
HIWindow* behindThisWindow,
HILayerRef containingLayer)
{
return SOM_ResolveD(this,HIWindow,HIWindow,InitWindowInLayer)
(this,ev,identifier,globalBounds,windowClass,windowVariant,windowAttributes,rootPanel,behindThisWindow,containingLayer);
}
/* method: Select */
OSStatus Select(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIWindow,Select)
(this,ev);
}
/* method: SelectWithGroup */
OSStatus SelectWithGroup(Environment *ev,
HIWindowGroupRef groupRef)
{
return SOM_ResolveD(this,HIWindow,HIWindow,SelectWithGroup)
(this,ev,groupRef);
}
/* method: Hilite */
OSStatus Hilite(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIWindow,Hilite)
(this,ev);
}
/* method: Unhilite */
OSStatus Unhilite(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIWindow,Unhilite)
(this,ev);
}
/* method: IsHilited */
boolean IsHilited(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIWindow,IsHilited)
(this,ev);
}
/* method: IsActive */
boolean IsActive(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIWindow,IsActive)
(this,ev);
}
/* method: BringToFront */
OSStatus BringToFront(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIWindow,BringToFront)
(this,ev);
}
/* method: SendBehind */
OSStatus SendBehind(Environment *ev,
HIWindow* behindThisWindow)
{
return SOM_ResolveD(this,HIWindow,HIWindow,SendBehind)
(this,ev,behindThisWindow);
}
/* method: ShowWithoutActivate */
OSStatus ShowWithoutActivate(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIWindow,ShowWithoutActivate)
(this,ev);
}
/* method: HideWithoutActivate */
OSStatus HideWithoutActivate(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIWindow,HideWithoutActivate)
(this,ev);
}
/* method: Zoom */
OSStatus Zoom(Environment *ev,
HIWindowPartCode whichPart,
boolean front)
{
return SOM_ResolveD(this,HIWindow,HIWindow,Zoom)
(this,ev,whichPart,front);
}
/* method: ZoomOut */
OSStatus ZoomOut(Environment *ev,
Point* idealSize)
{
return SOM_ResolveD(this,HIWindow,HIWindow,ZoomOut)
(this,ev,idealSize);
}
/* method: Collapse */
OSStatus Collapse(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIWindow,Collapse)
(this,ev);
}
/* method: Expand */
OSStatus Expand(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIWindow,Expand)
(this,ev);
}
/* method: IsCollapsed */
boolean IsCollapsed(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIWindow,IsCollapsed)
(this,ev);
}
/* method: SetAttachedWindowGroup */
OSStatus SetAttachedWindowGroup(Environment *ev,
HIWindowGroupRef groupRef)
{
return SOM_ResolveD(this,HIWindow,HIWindow,SetAttachedWindowGroup)
(this,ev,groupRef);
}
/* method: GetAttachedWindowGroup */
HIWindowGroupRef GetAttachedWindowGroup(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIWindow,GetAttachedWindowGroup)
(this,ev);
}
/* method: AddToGroup */
OSStatus AddToGroup(Environment *ev,
HIWindowGroupRef groupRef)
{
return SOM_ResolveD(this,HIWindow,HIWindow,AddToGroup)
(this,ev,groupRef);
}
/* method: RemoveFromGroup */
OSStatus RemoveFromGroup(Environment *ev,
HIWindowGroupRef groupRef)
{
return SOM_ResolveD(this,HIWindow,HIWindow,RemoveFromGroup)
(this,ev,groupRef);
}
/* method: InvalidateRect */
OSStatus InvalidateRect(Environment *ev,
Rect* badRect)
{
return SOM_ResolveD(this,HIWindow,HIWindow,InvalidateRect)
(this,ev,badRect);
}
/* method: InvalidateRgn */
OSStatus InvalidateRgn(Environment *ev,
RgnHandle badRgn)
{
return SOM_ResolveD(this,HIWindow,HIWindow,InvalidateRgn)
(this,ev,badRgn);
}
/* method: ValidateRect */
OSStatus ValidateRect(Environment *ev,
Rect* goodRect)
{
return SOM_ResolveD(this,HIWindow,HIWindow,ValidateRect)
(this,ev,goodRect);
}
/* method: ValidateRgn */
OSStatus ValidateRgn(Environment *ev,
RgnHandle goodRgn)
{
return SOM_ResolveD(this,HIWindow,HIWindow,ValidateRgn)
(this,ev,goodRgn);
}
/* method: SetPort */
OSStatus SetPort(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIWindow,SetPort)
(this,ev);
}
/* method: BeginUpdate */
OSStatus BeginUpdate(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIWindow,BeginUpdate)
(this,ev);
}
/* method: EndUpdate */
OSStatus EndUpdate(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIWindow,EndUpdate)
(this,ev);
}
/* method: DrawGrowIcon */
OSStatus DrawGrowIcon(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIWindow,DrawGrowIcon)
(this,ev);
}
/* method: PositionOnScreen */
OSStatus PositionOnScreen(Environment *ev,
Rect* globalReferenceRect,
boolean findScreen,
HIWindowHorizontalConstraint horizontalConstraint,
HIWindowVerticalConstraint verticalConstraint)
{
return SOM_ResolveD(this,HIWindow,HIWindow,PositionOnScreen)
(this,ev,globalReferenceRect,findScreen,horizontalConstraint,verticalConstraint);
}
/* method: AutoPosition */
OSStatus AutoPosition(Environment *ev,
HIWindowLocationConstraint locationConstraint,
HIWindowHorizontalConstraint horizontalConstraint,
HIWindowVerticalConstraint verticalConstraint)
{
return SOM_ResolveD(this,HIWindow,HIWindow,AutoPosition)
(this,ev,locationConstraint,horizontalConstraint,verticalConstraint);
}
/* method: IsPositionedOnScreen */
boolean IsPositionedOnScreen(Environment *ev,
HIWindowPartCode whichPart,
boolean entirelyOnScreen)
{
return SOM_ResolveD(this,HIWindow,HIWindow,IsPositionedOnScreen)
(this,ev,whichPart,entirelyOnScreen);
}
/* method: SetAttributes */
OSStatus SetAttributes(Environment *ev,
HIWindowAttributes newAttributes,
boolean redraw)
{
return SOM_ResolveD(this,HIWindow,HIWindow,SetAttributes)
(this,ev,newAttributes,redraw);
}
/* method: GetAttributes */
HIWindowAttributes GetAttributes(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIWindow,GetAttributes)
(this,ev);
}
/* method: SetClass */
OSStatus SetClass(Environment *ev,
HIWindowClass newClass)
{
return SOM_ResolveD(this,HIWindow,HIWindow,SetClass)
(this,ev,newClass);
}
/* method: GetClass */
HIWindowClass GetClass(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIWindow,GetClass)
(this,ev);
}
/* method: SetVariant */
OSStatus SetVariant(Environment *ev,
HIWindowVariant newVariant)
{
return SOM_ResolveD(this,HIWindow,HIWindow,SetVariant)
(this,ev,newVariant);
}
/* method: GetVariant */
HIWindowVariant GetVariant(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIWindow,GetVariant)
(this,ev);
}
/* method: GetStructureRgn */
OSStatus GetStructureRgn(Environment *ev,
RgnHandle structureCopy)
{
return SOM_ResolveD(this,HIWindow,HIWindow,GetStructureRgn)
(this,ev,structureCopy);
}
/* method: GetContentRgn */
OSStatus GetContentRgn(Environment *ev,
RgnHandle contentCopy)
{
return SOM_ResolveD(this,HIWindow,HIWindow,GetContentRgn)
(this,ev,contentCopy);
}
/* method: GetUpdateRgn */
OSStatus GetUpdateRgn(Environment *ev,
RgnHandle updateCopy)
{
return SOM_ResolveD(this,HIWindow,HIWindow,GetUpdateRgn)
(this,ev,updateCopy);
}
/* method: SetStandardState */
OSStatus SetStandardState(Environment *ev,
Rect* globalStandardState)
{
return SOM_ResolveD(this,HIWindow,HIWindow,SetStandardState)
(this,ev,globalStandardState);
}
/* method: GetStandardState */
Rect* GetStandardState(Environment *ev,
Rect* globalStandardState)
{
return SOM_ResolveD(this,HIWindow,HIWindow,GetStandardState)
(this,ev,globalStandardState);
}
/* method: SetUserState */
OSStatus SetUserState(Environment *ev,
Rect* globalUserState)
{
return SOM_ResolveD(this,HIWindow,HIWindow,SetUserState)
(this,ev,globalUserState);
}
/* method: GetUserState */
Rect* GetUserState(Environment *ev,
Rect* globalUserState)
{
return SOM_ResolveD(this,HIWindow,HIWindow,GetUserState)
(this,ev,globalUserState);
}
/* method: SetDefaultGrowLimits */
OSStatus SetDefaultGrowLimits(Environment *ev,
Point* minimumSize,
Point* maximumSize)
{
return SOM_ResolveD(this,HIWindow,HIWindow,SetDefaultGrowLimits)
(this,ev,minimumSize,maximumSize);
}
/* method: GetDefaultGrowLimits */
OSStatus GetDefaultGrowLimits(Environment *ev,
Point* minimumSize,
Point* maximumSize)
{
return SOM_ResolveD(this,HIWindow,HIWindow,GetDefaultGrowLimits)
(this,ev,minimumSize,maximumSize);
}
/* method: SetDefaultOptimalSize */
OSStatus SetDefaultOptimalSize(Environment *ev,
Point* defaultSize)
{
return SOM_ResolveD(this,HIWindow,HIWindow,SetDefaultOptimalSize)
(this,ev,defaultSize);
}
/* method: GetDefaultOptimalSize */
OSStatus GetDefaultOptimalSize(Environment *ev,
Point* defaultSize)
{
return SOM_ResolveD(this,HIWindow,HIWindow,GetDefaultOptimalSize)
(this,ev,defaultSize);
}
/* method: GetRootPanel */
HIRootPanel* GetRootPanel(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIWindow,GetRootPanel)
(this,ev);
}
/* method: SetRootPanel */
OSStatus SetRootPanel(Environment *ev,
HIRootPanel* thePanel)
{
return SOM_ResolveD(this,HIWindow,HIWindow,SetRootPanel)
(this,ev,thePanel);
}
/* method: GetEventDispatcher */
AEDispatcherRef GetEventDispatcher(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIWindow,GetEventDispatcher)
(this,ev);
}
/* method: HandleMouseDown */
OSStatus HandleMouseDown(Environment *ev,
Point* globalPt,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIWindow,HIWindow,HandleMouseDown)
(this,ev,globalPt,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseMoved */
OSStatus HandleMouseMoved(Environment *ev,
Point* globalPt,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIWindow,HIWindow,HandleMouseMoved)
(this,ev,globalPt,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseStoppedMoving */
OSStatus HandleMouseStoppedMoving(Environment *ev,
Point* globalPt,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIWindow,HIWindow,HandleMouseStoppedMoving)
(this,ev,globalPt,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseUp */
OSStatus HandleMouseUp(Environment *ev,
Point* globalPt,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIWindow,HIWindow,HandleMouseUp)
(this,ev,globalPt,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseDownInBack */
OSStatus HandleMouseDownInBack(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIWindow,HIWindow,HandleMouseDownInBack)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleUpdate */
OSStatus HandleUpdate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIWindow,HIWindow,HandleUpdate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleResize */
OSStatus HandleResize(Environment *ev,
Rect* originalBounds,
Rect* newBounds,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIWindow,HIWindow,HandleResize)
(this,ev,originalBounds,newBounds,theEvent,reply,handlerTableRef);
}
/* method: HandleClose */
OSStatus HandleClose(Environment *ev,
boolean closeAll,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIWindow,HIWindow,HandleClose)
(this,ev,closeAll,theEvent,reply,handlerTableRef);
}
/* method: AdjustDragLimits */
void AdjustDragLimits(Environment *ev,
Rect* dragLimits)
{
SOM_ResolveD(this,HIWindow,HIWindow,AdjustDragLimits)
(this,ev,dragLimits);
}
/* method: AdjustGrowLimits */
void AdjustGrowLimits(Environment *ev,
Point* minimumSize,
Point* maximumSize)
{
SOM_ResolveD(this,HIWindow,HIWindow,AdjustGrowLimits)
(this,ev,minimumSize,maximumSize);
}
/* method: TrackPart */
OSStatus TrackPart(Environment *ev,
Point* globalPt,
EventModifiers modifiers,
HIWindowPartCode whichPart)
{
return SOM_ResolveD(this,HIWindow,HIWindow,TrackPart)
(this,ev,globalPt,modifiers,whichPart);
}
/* method: DrawFrame */
void DrawFrame(Environment *ev,
CGrafPtr drawPort)
{
SOM_ResolveD(this,HIWindow,HIWindow,DrawFrame)
(this,ev,drawPort);
}
/* method: DrawOutline */
void DrawOutline(Environment *ev,
Rect* globalOutlineRect,
CGrafPtr drawPort)
{
SOM_ResolveD(this,HIWindow,HIWindow,DrawOutline)
(this,ev,globalOutlineRect,drawPort);
}
/* method: DrawSizeBox */
void DrawSizeBox(Environment *ev,
CGrafPtr drawPort)
{
SOM_ResolveD(this,HIWindow,HIWindow,DrawSizeBox)
(this,ev,drawPort);
}
/* method: HilitePart */
void HilitePart(Environment *ev,
HIWindowPartCode whichPart,
boolean hiliteFlag,
CGrafPtr drawPort)
{
SOM_ResolveD(this,HIWindow,HIWindow,HilitePart)
(this,ev,whichPart,hiliteFlag,drawPort);
}
/* method: HitTest */
HIWindowPartCode HitTest(Environment *ev,
Point* globalHitPt)
{
return SOM_ResolveD(this,HIWindow,HIWindow,HitTest)
(this,ev,globalHitPt);
}
/* method: GetPartRgn */
OSStatus GetPartRgn(Environment *ev,
HIWindowRgnCode windowRgn,
RgnHandle theRgn)
{
return SOM_ResolveD(this,HIWindow,HIWindow,GetPartRgn)
(this,ev,windowRgn,theRgn);
}
/* method: GetUnusedGadgetRects */
OSStatus GetUnusedGadgetRects(Environment *ev,
Rect* leftRect,
Rect* rightRect)
{
return SOM_ResolveD(this,HIWindow,HIWindow,GetUnusedGadgetRects)
(this,ev,leftRect,rightRect);
}
/* method: GetGrowDirection */
HIWindowGrowDirection GetGrowDirection(Environment *ev,
Point* globalHitPt)
{
return SOM_ResolveD(this,HIWindow,HIWindow,GetGrowDirection)
(this,ev,globalHitPt);
}
/* noself procedure: GetPrimaryLayer */
static HILayerRef GetPrimaryLayer(Environment *ev)
{
return ((somTD_HIWindow_GetPrimaryLayer)HIWindowClassData.GetPrimaryLayer)
( ev);
}
/* noself procedure: NewWindowGroup */
static OSStatus NewWindowGroup(Environment *ev,
HIWindowGroupRef* newGroup)
{
return ((somTD_HIWindow_NewWindowGroup)HIWindowClassData.NewWindowGroup)
(ev,newGroup);
}
/* noself procedure: DisposeWindowGroup */
static OSStatus DisposeWindowGroup(Environment *ev,
HIWindowGroupRef groupToDispose)
{
return ((somTD_HIWindow_DisposeWindowGroup)HIWindowClassData.DisposeWindowGroup)
(ev,groupToDispose);
}
/* noself procedure: AddWindowGroupToWindowGroup */
static OSStatus AddWindowGroupToWindowGroup(Environment *ev,
HIWindowGroupRef baseGroup,
HIWindowGroupRef groupToAdd)
{
return ((somTD_HIWindow_AddWindowGroupToWindowGroup)HIWindowClassData.AddWindowGroupToWindowGroup)
(ev,baseGroup,groupToAdd);
}
/* noself procedure: RemoveWindowGroupFromWindowGroup */
static OSStatus RemoveWindowGroupFromWindowGroup(Environment *ev,
HIWindowGroupRef baseGroup,
HIWindowGroupRef groupToRemove)
{
return ((somTD_HIWindow_RemoveWindowGroupFromWindowGroup)HIWindowClassData.RemoveWindowGroupFromWindowGroup)
(ev,baseGroup,groupToRemove);
}
/* noself procedure: GetApplicationWindowGroup */
static HIWindowGroupRef GetApplicationWindowGroup(Environment *ev)
{
return ((somTD_HIWindow_GetApplicationWindowGroup)HIWindowClassData.GetApplicationWindowGroup)
( ev);
}
/* noself procedure: GetWindowClassWindowGroup */
static HIWindowGroupRef GetWindowClassWindowGroup(Environment *ev,
HIWindowClass windowClass)
{
return ((somTD_HIWindow_GetWindowClassWindowGroup)HIWindowClassData.GetWindowClassWindowGroup)
(ev,windowClass);
}
/* noself procedure: GetWindowsInWindowGroup */
static OSStatus GetWindowsInWindowGroup(Environment *ev,
HIWindowGroupRef group,
ItemCount requestedWindows,
ItemCount* totalWindows,
HIWindow** windows)
{
return ((somTD_HIWindow_GetWindowsInWindowGroup)HIWindowClassData.GetWindowsInWindowGroup)
(ev,group,requestedWindows,totalWindows,windows);
}
/* noself procedure: GetWindowsInWindowGroupAndLayer */
static OSStatus GetWindowsInWindowGroupAndLayer(Environment *ev,
HIWindowGroupRef group,
HILayerRef layer,
ItemCount requestedWindows,
ItemCount* totalWindows,
HIWindow** windows)
{
return ((somTD_HIWindow_GetWindowsInWindowGroupAndLayer)HIWindowClassData.GetWindowsInWindowGroupAndLayer)
(ev,group,layer,requestedWindows,totalWindows,windows);
}
/* noself procedure: GetWindowGroupsInWindowGroup */
static OSStatus GetWindowGroupsInWindowGroup(Environment *ev,
HIWindowGroupRef group,
ItemCount requestedGroups,
ItemCount* totalGroups,
HIWindowGroupRef* groups)
{
return ((somTD_HIWindow_GetWindowGroupsInWindowGroup)HIWindowClassData.GetWindowGroupsInWindowGroup)
(ev,group,requestedGroups,totalGroups,groups);
}
/* noself procedure: FrontWindowOfWindowGroup */
static HIWindow* FrontWindowOfWindowGroup(Environment *ev,
HIWindowGroupRef group)
{
return ((somTD_HIWindow_FrontWindowOfWindowGroup)HIWindowClassData.FrontWindowOfWindowGroup)
(ev,group);
}
/* noself procedure: FrontNonFloatingWindow */
static HIWindow* FrontNonFloatingWindow(Environment *ev)
{
return ((somTD_HIWindow_FrontNonFloatingWindow)HIWindowClassData.FrontNonFloatingWindow)
( ev);
}
/* noself procedure: ShowFloatingWindows */
static void ShowFloatingWindows(Environment *ev)
{
((somTD_HIWindow_ShowFloatingWindows)HIWindowClassData.ShowFloatingWindows)
( ev);
}
/* noself procedure: HideFloatingWindows */
static void HideFloatingWindows(Environment *ev)
{
((somTD_HIWindow_HideFloatingWindows)HIWindowClassData.HideFloatingWindows)
( ev);
}
/* noself procedure: AreFloatersVisible */
static boolean AreFloatersVisible(Environment *ev)
{
return ((somTD_HIWindow_AreFloatersVisible)HIWindowClassData.AreFloatersVisible)
( ev);
}
/* noself procedure: ActivateFloatingWindows */
static void ActivateFloatingWindows(Environment *ev)
{
((somTD_HIWindow_ActivateFloatingWindows)HIWindowClassData.ActivateFloatingWindows)
( ev);
}
/* noself procedure: DeactivateFloatingWindows */
static void DeactivateFloatingWindows(Environment *ev)
{
((somTD_HIWindow_DeactivateFloatingWindows)HIWindowClassData.DeactivateFloatingWindows)
( ev);
}
/* noself procedure: EnableAutomaticPaletteActivation */
static void EnableAutomaticPaletteActivation(Environment *ev)
{
((somTD_HIWindow_EnableAutomaticPaletteActivation)HIWindowClassData.EnableAutomaticPaletteActivation)
( ev);
}
/* noself procedure: DisableAutomaticPaletteActivation */
static void DisableAutomaticPaletteActivation(Environment *ev)
{
((somTD_HIWindow_DisableAutomaticPaletteActivation)HIWindowClassData.DisableAutomaticPaletteActivation)
( ev);
}
/* noself procedure: IsAutomaticPaletteActivationEnabled */
static boolean IsAutomaticPaletteActivationEnabled(Environment *ev)
{
return ((somTD_HIWindow_IsAutomaticPaletteActivationEnabled)HIWindowClassData.IsAutomaticPaletteActivationEnabled)
( ev);
}
/* noself procedure: GetHIWindow */
static HIWindow* GetHIWindow(Environment *ev,
WindowPtr targetWindow)
{
return ((somTD_HIWindow_GetHIWindow)HIWindowClassData.GetHIWindow)
(ev,targetWindow);
}
/*
* -- Inherited methods
*/
/* method: GetWindow */
HIWindow* GetWindow(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIObject,GetWindow)
(this,ev);
}
/* method: GetPort */
CGrafPtr GetPort(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIObject,GetPort)
(this,ev);
}
/* method: GetRefLabel */
void GetRefLabel(Environment *ev,
RefLabel* identifier)
{
SOM_ResolveD(this,HIWindow,HIObject,GetRefLabel)
(this,ev,identifier);
}
/* method: GetCollection */
Collection GetCollection(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIObject,GetCollection)
(this,ev);
}
/* method: Init */
OSStatus Init(Environment *ev,
RefLabel* identifier,
Rect* boundingRect)
{
return SOM_ResolveD(this,HIWindow,HIObject,Init)
(this,ev,identifier,boundingRect);
}
/* method: Terminate */
void Terminate(Environment *ev)
{
SOM_ResolveD(this,HIWindow,HIObject,Terminate)
(this,ev);
}
/* method: Clone */
HIObject* Clone(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIObject,Clone)
(this,ev);
}
/* method: Release */
void Release(Environment *ev)
{
SOM_ResolveD(this,HIWindow,HIObject,Release)
(this,ev);
}
/* method: GetOwnerCount */
ItemCount GetOwnerCount(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIObject,GetOwnerCount)
(this,ev);
}
/* method: InitFromAERecord */
OSStatus InitFromAERecord(Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HIWindow,HIObject,InitFromAERecord)
(this,ev,baseInitializerData,initializerDataForClass,dataFormat);
}
/* method: WriteToAERecord */
OSStatus WriteToAERecord(Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HIWindow,HIObject,WriteToAERecord)
(this,ev,dataForSubclass,objectData,dataFormat);
}
/* method: CalculateOptimalSize */
void CalculateOptimalSize(Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight)
{
SOM_ResolveD(this,HIWindow,HIObject,CalculateOptimalSize)
(this,ev,optimalWidth,optimalHeight);
}
/* method: GetBoundingRect */
void GetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect)
{
SOM_ResolveD(this,HIWindow,HIObject,GetBoundingRect)
(this,ev,coordinate,boundingRect);
}
/* method: SetBoundingRect */
void SetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect)
{
SOM_ResolveD(this,HIWindow,HIObject,SetBoundingRect)
(this,ev,coordinate,newBoundingRect);
}
/* method: SetPosition */
void SetPosition(Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition)
{
SOM_ResolveD(this,HIWindow,HIObject,SetPosition)
(this,ev,coordinate,newPosition);
}
/* method: SetSize */
void SetSize(Environment *ev,
SInt16 width,
SInt16 height)
{
SOM_ResolveD(this,HIWindow,HIObject,SetSize)
(this,ev,width,height);
}
/* method: GetUpdateRect */
void GetUpdateRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect)
{
SOM_ResolveD(this,HIWindow,HIObject,GetUpdateRect)
(this,ev,coordinate,updateRect);
}
/* method: Enable */
void Enable(Environment *ev)
{
SOM_ResolveD(this,HIWindow,HIObject,Enable)
(this,ev);
}
/* method: Disable */
void Disable(Environment *ev)
{
SOM_ResolveD(this,HIWindow,HIObject,Disable)
(this,ev);
}
/* method: IsEnabled */
boolean IsEnabled(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIObject,IsEnabled)
(this,ev);
}
/* method: Show */
void Show(Environment *ev)
{
SOM_ResolveD(this,HIWindow,HIObject,Show)
(this,ev);
}
/* method: Hide */
void Hide(Environment *ev)
{
SOM_ResolveD(this,HIWindow,HIObject,Hide)
(this,ev);
}
/* method: IsVisible */
boolean IsVisible(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIObject,IsVisible)
(this,ev);
}
/* method: HandleAppleEvent */
OSStatus HandleAppleEvent(Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIWindow,HIObject,HandleAppleEvent)
(this,ev,eventClass,eventID,theEvent,reply,handlerTableRef);
}
/* method: HandleActivate */
OSStatus HandleActivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIWindow,HIObject,HandleActivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleDeactivate */
OSStatus HandleDeactivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIWindow,HIObject,HandleDeactivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleNavigation */
OSStatus HandleNavigation(Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIWindow,HIObject,HandleNavigation)
(this,ev,key,keyCode,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseDownInContent */
OSStatus HandleMouseDownInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIWindow,HIObject,HandleMouseDownInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseMovedInContent */
OSStatus HandleMouseMovedInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIWindow,HIObject,HandleMouseMovedInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseStoppedMovingInContent */
OSStatus HandleMouseStoppedMovingInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIWindow,HIObject,HandleMouseStoppedMovingInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseUpInContent */
OSStatus HandleMouseUpInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIWindow,HIObject,HandleMouseUpInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: TakeUserInputFocus */
void TakeUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HIWindow,HIObject,TakeUserInputFocus)
(this,ev);
}
/* method: ReleaseUserInputFocus */
void ReleaseUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HIWindow,HIObject,ReleaseUserInputFocus)
(this,ev);
}
/* method: HasUserInputFocus */
boolean HasUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIObject,HasUserInputFocus)
(this,ev);
}
/* method: CanReleaseUserInputFocus */
boolean CanReleaseUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIObject,CanReleaseUserInputFocus)
(this,ev);
}
/* method: SetUserInputFocusFlags */
void SetUserInputFocusFlags(Environment *ev,
HIUserInputFocusFlags flags)
{
SOM_ResolveD(this,HIWindow,HIObject,SetUserInputFocusFlags)
(this,ev,flags);
}
/* method: GetUserInputFocusFlags */
HIUserInputFocusFlags GetUserInputFocusFlags(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIObject,GetUserInputFocusFlags)
(this,ev);
}
/* method: SetTitle */
OSStatus SetTitle(Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags)
{
return SOM_ResolveD(this,HIWindow,HIObject,SetTitle)
(this,ev,title,disposalAdoptionFlags);
}
/* method: GetTitle */
OSStatus GetTitle(Environment *ev,
HIImageRef* title)
{
return SOM_ResolveD(this,HIWindow,HIObject,GetTitle)
(this,ev,title);
}
/* method: Draw */
void Draw(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HIWindow,HIObject,Draw)
(this,ev,whichPort,drawRgn);
}
/* method: Erase */
void Erase(Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn)
{
SOM_ResolveD(this,HIWindow,HIObject,Erase)
(this,ev,whichPort,eraseRgn);
}
/* method: Invalidate */
void Invalidate(Environment *ev)
{
SOM_ResolveD(this,HIWindow,HIObject,Invalidate)
(this,ev);
}
/* method: GetDrawingMode */
HIDrawingMode GetDrawingMode(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIObject,GetDrawingMode)
(this,ev);
}
/* method: SetDrawingMode */
void SetDrawingMode(Environment *ev,
HIDrawingMode drawingMode)
{
SOM_ResolveD(this,HIWindow,HIObject,SetDrawingMode)
(this,ev,drawingMode);
}
/* method: SetBackgroundPattern */
void SetBackgroundPattern(Environment *ev,
PixPatHandle backgroundPattern)
{
SOM_ResolveD(this,HIWindow,HIObject,SetBackgroundPattern)
(this,ev,backgroundPattern);
}
/* method: GetBackgroundPattern */
PixPatHandle GetBackgroundPattern(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIObject,GetBackgroundPattern)
(this,ev);
}
/* method: Cut */
void Cut(Environment *ev)
{
SOM_ResolveD(this,HIWindow,HIObject,Cut)
(this,ev);
}
/* method: Copy */
void Copy(Environment *ev)
{
SOM_ResolveD(this,HIWindow,HIObject,Copy)
(this,ev);
}
/* method: Paste */
void Paste(Environment *ev)
{
SOM_ResolveD(this,HIWindow,HIObject,Paste)
(this,ev);
}
/* method: Clear */
void Clear(Environment *ev)
{
SOM_ResolveD(this,HIWindow,HIObject,Clear)
(this,ev);
}
/* method: GetClipboardSupportFlags */
HIClipboardSupportFlags GetClipboardSupportFlags(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIObject,GetClipboardSupportFlags)
(this,ev);
}
/* method: AddStateChangeCallback */
OSStatus AddStateChangeCallback(Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef)
{
return SOM_ResolveD(this,HIWindow,HIObject,AddStateChangeCallback)
(this,ev,changedStateCallback,newCallbackRef);
}
/* method: RemoveStateChangeCallback */
OSStatus RemoveStateChangeCallback(Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove)
{
return SOM_ResolveD(this,HIWindow,HIObject,RemoveStateChangeCallback)
(this,ev,callbackRefToRemove);
}
/* noself procedure: GetHIObjectFromRefLabel */
static OSStatus GetHIObjectFromRefLabel(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects)
{
return ((somTD_HIWindow_GetHIObjectFromRefLabel)HIObjectClassData.GetHIObjectFromRefLabel)
(ev,identifier,requestedObjects,totalObjects,theObjects);
}
/* noself procedure: GetNewHIObject */
static OSStatus GetNewHIObject(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject)
{
return ((somTD_HIWindow_GetNewHIObject)HIObjectClassData.GetNewHIObject)
(ev,objectInitializer,newObject);
}
/* noself procedure: GetNewHIObjectFromResource */
static OSStatus GetNewHIObjectFromResource(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject)
{
return ((somTD_HIWindow_GetNewHIObjectFromResource)HIObjectClassData.GetNewHIObjectFromResource)
(ev,objectInitializerResourceID,newObject);
}
/* method: DrawContent */
void DrawContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HIWindow,HIObject,DrawContent)
(this,ev,whichPort,drawRgn);
}
/* method: EraseContent */
void EraseContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase)
{
SOM_ResolveD(this,HIWindow,HIObject,EraseContent)
(this,ev,whichPort,regionToErase);
}
/* method: TranslatePoint */
void TranslatePoint(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint)
{
SOM_ResolveD(this,HIWindow,HIObject,TranslatePoint)
(this,ev,translateFrom,translateTo,sourcePoint,translatedPoint);
}
/* method: TranslateRect */
void TranslateRect(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect)
{
SOM_ResolveD(this,HIWindow,HIObject,TranslateRect)
(this,ev,translateFrom,translateTo,sourceRect,translatedRect);
}
/* method: StateChanged */
void StateChanged(Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode)
{
SOM_ResolveD(this,HIWindow,HIObject,StateChanged)
(this,ev,selectorCreator,changedCode);
}
/* method: SetClipboardSupportFlags */
void SetClipboardSupportFlags(Environment *ev,
HIClipboardSupportFlags flags)
{
SOM_ResolveD(this,HIWindow,HIObject,SetClipboardSupportFlags)
(this,ev,flags);
}
/* method: Verify */
OSStatus Verify(Environment *ev)
{
return SOM_ResolveD(this,HIWindow,HIObject,Verify)
(this,ev);
}
/* method: somInit */
void somInit()
{
SOM_ResolveD(this,HIWindow,SOMObject,somInit)
(this);
}
/* method: somUninit */
void somUninit()
{
SOM_ResolveD(this,HIWindow,SOMObject,somUninit)
(this);
}
/* method: somDuplicateReference */
SOMObject* somDuplicateReference()
{
return SOM_ResolveD(this,HIWindow,SOMObject,somDuplicateReference)
(this);
}
/* method: somCompareReference */
boolean somCompareReference(SOMObject* anObject)
{
return SOM_ResolveD(this,HIWindow,SOMObject,somCompareReference)
(this,anObject);
}
/* method: somRelease */
SOMObject* somRelease()
{
return SOM_ResolveD(this,HIWindow,SOMObject,somRelease)
(this);
}
/* method: somFree */
void somFree()
{
SOM_ResolveD(this,HIWindow,SOMObject,somFree)
(this);
}
/* method: somCanDelete */
boolean somCanDelete()
{
return SOM_ResolveD(this,HIWindow,SOMObject,somCanDelete)
(this);
}
/* method: somGetClass */
SOMClass* somGetClass()
{
return SOM_ResolveD(this,HIWindow,SOMObject,somGetClass)
(this);
}
/* method: somGetClassName */
corbastring somGetClassName()
{
return SOM_ResolveD(this,HIWindow,SOMObject,somGetClassName)
(this);
}
/* method: somGetSize */
long somGetSize()
{
return SOM_ResolveD(this,HIWindow,SOMObject,somGetSize)
(this);
}
/* method: somIsA */
boolean somIsA(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HIWindow,SOMObject,somIsA)
(this,aClassObj);
}
/* method: somRespondsTo */
boolean somRespondsTo(somId mId)
{
return SOM_ResolveD(this,HIWindow,SOMObject,somRespondsTo)
(this,mId);
}
/* method: somIsInstanceOf */
boolean somIsInstanceOf(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HIWindow,SOMObject,somIsInstanceOf)
(this,aClassObj);
}
/* va_list method: somDispatch */
/* the va_list invocation form */
boolean HIWindow_somDispatch(somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HIWindow,SOMObject,somDispatch)
(this,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somDispatch(somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HIWindow,SOMObject,somDispatch)
(this,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somClassDispatch */
/* the va_list invocation form */
boolean HIWindow_somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HIWindow,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HIWindow,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* method: somCastObj */
boolean somCastObj(SOMClass* cls)
{
return SOM_ResolveD(this,HIWindow,SOMObject,somCastObj)
(this,cls);
}
/* method: somResetObj */
boolean somResetObj()
{
return SOM_ResolveD(this,HIWindow,SOMObject,somResetObj)
(this);
}
/* method: somPrintSelf */
SOMObject* somPrintSelf()
{
return SOM_ResolveD(this,HIWindow,SOMObject,somPrintSelf)
(this);
}
/* method: somDumpSelf */
void somDumpSelf(long level)
{
SOM_ResolveD(this,HIWindow,SOMObject,somDumpSelf)
(this,level);
}
/* method: somDumpSelfInt */
void somDumpSelfInt(long level)
{
SOM_ResolveD(this,HIWindow,SOMObject,somDumpSelfInt)
(this,level);
}
}; /* HIWindow */
#endif /* SOM_HIWindow_xh */